package com.youdoneed.community.forum.vo;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Administrator on 2017/7/17 0017.
 */
public class CreateCommentVo {

    @ApiModelProperty("评论类型！对帖子进行评论：msgComment,对评论进行评论：cmtComment,对新闻进行评论：newsComment")
    private String msgType;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("父评论id")
    private String parentCommentId;

    @ApiModelProperty("被评论的帖子id，或者被评论的评论id，或者被评论的新闻id！注：新闻的id为long型，需转为string型再调用接口")
    private String msgSourceId;

    @ApiModelProperty("发表评论时可以添加图片。如果评论有图片先调用上传图片的接口，获取返回值后再调用发表评论接口！")
    private String commentPicUrl;

    @ApiModelProperty("用户昵称")
    private String userNickname;

    @ApiModelProperty("用户头像")
    private String userHeadUrl;

    @ApiModelProperty("被评论人员名称！")
    private String commentFromTo;

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getParentCommentId() {
        return parentCommentId;
    }

    public void setParentCommentId(String parentCommentId) {
        this.parentCommentId = parentCommentId;
    }

    public String getMsgSourceId() {
        return msgSourceId;
    }

    public void setMsgSourceId(String msgSourceId) {
        this.msgSourceId = msgSourceId;
    }

    public String getCommentPicUrl() {
        return commentPicUrl;
    }

    public void setCommentPicUrl(String commentPicUrl) {
        this.commentPicUrl = commentPicUrl;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    public String getUserHeadUrl() {
        return userHeadUrl;
    }

    public void setUserHeadUrl(String userHeadUrl) {
        this.userHeadUrl = userHeadUrl;
    }

    public String getCommentFromTo() {
        return commentFromTo;
    }

    public void setCommentFromTo(String commentFromTo) {
        this.commentFromTo = commentFromTo;
    }
}
